/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.storage.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 营销活动产品Entity
 */
@Table(name="biz_activity_goods", alias="a", columns={
		@Column(name="id", attrName="id", label="唯一标识", isPK=true),
		@Column(name="activity_id", attrName="activityId", label="活动id"),
		@Column(name="brand_id", attrName="brandId", label="品牌id"),
		@Column(name="cate_id", attrName="cateId", label="分类id"),
		@Column(name="category", attrName="category", label="商品大类"),
		@Column(name="goods_id", attrName="goodsId", label="商品id"),
		@Column(name="thumbnail", attrName="thumbnail", label="缩略图"),
		@Column(name="picture", attrName="picture", label="图片"),
		@Column(name="platform", attrName="platform", label="平台编号"),
		@Column(name="code", attrName="code", label="编码"),
		@Column(name="name", attrName="name", label="名称"),
		@Column(name="price", attrName="price", label="吊牌价"),
		@Column(name="member_price", attrName="memberPrice", label="普通会员价"),
		@Column(name="vip_price", attrName="vipPrice", label="VIP会员价"),
		@Column(name="agent_price", attrName="agentPrice", label="代购费"),
		@Column(name="seckill_price", attrName="seckillPrice", label="秒杀价"),
		@Column(name="material", attrName="material", label="材质"),
		@Column(name="place", attrName="place", label="产地"),
		@Column(name="year", attrName="year", label="产品年份"),
		@Column(name="season", attrName="season", label="产品季节"),
		@Column(name="stock_num", attrName="stockNum", label="库存"),
		@Column(name="sale_num", attrName="saleNum", label="销售"),
		@Column(name="share_single_pic", attrName="shareSinglePic", label="单图分享【不含购买】"),
		@Column(name="share_single_buy_pic", attrName="shareSingleBuyPic", label="单图分享【含购买】"),
		@Column(name="share_multiple_pic", attrName="shareMultiplePic", label="多图分享【不含购买】"),
		@Column(name="share_multiple_buy_pic", attrName="shareMultipleBuyPic", label="多图分享【含购买】"),
		@Column(name="create_by", attrName="createBy", label="创建者", isQuery=false),
		@Column(name="create_date", attrName="createDate", label="创建时间", isQuery=false),
		@Column(name="update_by", attrName="updateBy", label="更新者", isQuery=false),
		@Column(name="update_date", attrName="updateDate", label="更新时间", isQuery=false)
	},
		orderBy="a.create_date ASC"
)
public class ActivityGoods extends DataEntity<ActivityGoods> {
	
	private static final long serialVersionUID = 1L;
	private String activityId;		// 活动id
	private String brandId;		// 品牌id
	private String cateId;		// 分类id
	private String category;		// 商品大类
	private String goodsId;		// 商品id
	private String thumbnail;		// 缩略图
	private String picture;		// 图片【多个直接用"|"分割】
	private String platform;		// 平台编号
	private String code;		// 编码
	private String name;		// 名称
	private Double price;		// 吊牌价
	private Double memberPrice;		// 普通会员价
	private Double vipPrice;		// VIP会员价
	private Double agentPrice;		// 代购费
	private Double seckillPrice;		// 秒杀价
	private String material;		// 材质
	private String place;		// 产地
	private String year;		// 产品年份
	private String season;		// 产品季节
	private Integer stockNum;		// 库存
	private Integer saleNum;		// 销量
	private String shareSinglePic;		// 单图分享【不含购买】
	private String shareSingleBuyPic;		// 单图分享【含购买】
	private String shareMultiplePic;		// 多图分享【不含购买】
	private String shareMultipleBuyPic;		// 多图分享【含购买】

	public ActivityGoods() {
		this(null);
	}

	public ActivityGoods(String id){
		super(id);
	}

	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public String getCateId() {
		return cateId;
	}

	public void setCateId(String cateId) {
		this.cateId = cateId;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCategory() {
		return category;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(Double memberPrice) {
		this.memberPrice = memberPrice;
	}

	public Double getVipPrice() {
		return vipPrice;
	}

	public void setVipPrice(Double vipPrice) {
		this.vipPrice = vipPrice;
	}

	public Double getAgentPrice() {
		return agentPrice;
	}

	public void setAgentPrice(Double agentPrice) {
		this.agentPrice = agentPrice;
	}

	public Double getSeckillPrice() {
		return seckillPrice;
	}

	public void setSeckillPrice(Double seckillPrice) {
		this.seckillPrice = seckillPrice;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getSeason() {
		return season;
	}

	public void setSeason(String season) {
		this.season = season;
	}

	public Integer getStockNum() {
		return stockNum;
	}

	public void setStockNum(Integer stockNum) {
		this.stockNum = stockNum;
	}

	public Integer getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}

	public String getShareSinglePic() {
		return shareSinglePic;
	}

	public void setShareSinglePic(String shareSinglePic) {
		this.shareSinglePic = shareSinglePic;
	}

	public String getShareSingleBuyPic() {
		return shareSingleBuyPic;
	}

	public void setShareSingleBuyPic(String shareSingleBuyPic) {
		this.shareSingleBuyPic = shareSingleBuyPic;
	}

	public String getShareMultiplePic() {
		return shareMultiplePic;
	}

	public void setShareMultiplePic(String shareMultiplePic) {
		this.shareMultiplePic = shareMultiplePic;
	}

	public String getShareMultipleBuyPic() {
		return shareMultipleBuyPic;
	}

	public void setShareMultipleBuyPic(String shareMultipleBuyPic) {
		this.shareMultipleBuyPic = shareMultipleBuyPic;
	}
}